package com.huike.business.mapper;

import java.util.Date;
import java.util.List;
import com.huike.business.domain.TbBusinessTrackRecord;
import com.huike.business.domain.vo.BusinessTrackVo;
import org.apache.ibatis.annotations.Param;

/**
 * 商机跟进记录Mapper接口
 * @date 2021-04-28
 */
public interface TbBusinessTrackRecordMapper {

    /**
     * 查询跟进记录
     */
    List<TbBusinessTrackRecord> selectRecordByBusinessId(Long id);

    /**
     * 新增商机跟进记录
     */
    int insert(@Param("businessTrackVo") BusinessTrackVo businessTrackVo,
               @Param("name")String username,
               @Param("date") Date date);
}